/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.acoreful.acf2java.commons.beans.model;

import java.util.List;

/**
 *
 */
public class PagedResult<T> extends BaseObject {

    /**
	 * 
	 */
	private static final long serialVersionUID = -2326805650570565984L;

	private long totalSize;

    private List<T> results;


    public PagedResult() {
    }

    public PagedResult(List<T> results,
                       long totalSize) {
        this.results = results;
        this.totalSize = totalSize;
    }
    public long getTotalSize() {
    	return totalSize;
    }

    public List<T> getResults() {
        return results;
    }

    public void setTotalSize(long totalSize) {
        this.totalSize = totalSize;
    }
    
    public void setResults(List<T> results) {
    	this.results = results;
    }
}
